package cn.kenny.resource.mapper;

import cn.kenny.resource.pojo.Word;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WordMapper {
    @Select("select * from word")
    public List<Word> findAll();
}
